<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>CKFinder.dialog - CKFinder 2 JavaScript API Documentation</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 230px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 260px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px;
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}

		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
	<h1>CKFinder 2 JavaScript API Documentation</h1>
	<hr />
</div>

		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div>
	<a href="../index.html">Code Index</a>
</div>
<hr />
<h2>Namespaces</h2>
<ul class="classList">
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.html">CKFinder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ajax.html">CKFinder.ajax</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.config.html">CKFinder.config</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.html">CKFinder.dataTypes</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.html">CKFinder.dom</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.env.html">CKFinder.env</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.tools.html">CKFinder.tools</a>
			</li>
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinderAPI.html">CKFinderAPI</a>
			</li>
		
	
</ul>
<h2>Classes</h2>
<ul class="classList">
	
		
	
		
	
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Acl.html">CKFinder.dataTypes.Acl</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.BasketFolder.html">CKFinder.dataTypes.BasketFolder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Connector.html">CKFinder.dataTypes.Connector</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.File.html">CKFinder.dataTypes.File</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.Folder.html">CKFinder.dataTypes.Folder</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dataTypes.ResourceType.html">CKFinder.dataTypes.ResourceType</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.html">CKFinder.dialog</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.html">CKFinder.dialog.definition</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.button.html">CKFinder.dialog.definition.button</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.checkbox.html">CKFinder.dialog.definition.checkbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.content.html">CKFinder.dialog.definition.content</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.contentObject.html">CKFinder.dialog.definition.contentObject</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.file.html">CKFinder.dialog.definition.file</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.fileButton.html">CKFinder.dialog.definition.fileButton</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.hbox.html">CKFinder.dialog.definition.hbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.html.html">CKFinder.dialog.definition.html</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.radio.html">CKFinder.dialog.definition.radio</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.select.html">CKFinder.dialog.definition.select</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.textarea.html">CKFinder.dialog.definition.textarea</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.textInput.html">CKFinder.dialog.definition.textInput</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.uiElement.html">CKFinder.dialog.definition.uiElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definition.vbox.html">CKFinder.dialog.definition.vbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dialog.definitionObject.html">CKFinder.dialog.definitionObject</a>
			</li>
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.document.html">CKFinder.dom.document</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.domObject.html">CKFinder.dom.domObject</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.dom.node.html">CKFinder.dom.node</a>
			</li>
		
	
		
	
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.button.html">CKFinder.ui.dialog.button</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.checkbox.html">CKFinder.ui.dialog.checkbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.file.html">CKFinder.ui.dialog.file</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.fileButton.html">CKFinder.ui.dialog.fileButton</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.hbox.html">CKFinder.ui.dialog.hbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.html.html">CKFinder.ui.dialog.html</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.labeledElement.html">CKFinder.ui.dialog.labeledElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.radio.html">CKFinder.ui.dialog.radio</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.select.html">CKFinder.ui.dialog.select</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.textarea.html">CKFinder.ui.dialog.textarea</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.textInput.html">CKFinder.ui.dialog.textInput</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.uiElement.html">CKFinder.ui.dialog.uiElement</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.ui.dialog.vbox.html">CKFinder.ui.dialog.vbox</a>
			</li>
		
	
		
			<li>
				<a href="../symbols/CKFinder.xml.html">CKFinder.xml</a>
			</li>
		
	
		
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class CKFinder.dialog
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class CKFinder.dialog.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dialog.html#constructor">CKFinder.dialog</a></b>(app, dialogName)
							</div>
							<div class="description">This is the base class for runtime dialog objects.</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

				
				

				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class CKFinder.dialog.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.cancelButton">cancelButton</a></b>
								</div>
								<div class="description">The default cancel button for dialogs.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.okButton">okButton</a></b>
								</div>
								<div class="description">The default OK button for dialogs.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								<b><a href="../symbols/CKFinder.dialog.html#reset">reset</a></b>
								</div>
								<div class="description">Resets all input values in the dialog.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class CKFinder.dialog.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.add">add</a></b>(name, dialogDefinition)
								</div>
								<div class="description">Registers a dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.addUIElement">addUIElement</a></b>(typeName, builder)
								</div>
								<div class="description">Registers a dialog UI element.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.exists">exists</a></b>(name)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">CKFinder.dialog.<b><a href="../symbols/CKFinder.dialog.html#.getCurrent">getCurrent</a></b>()
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;inner&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#-changeFocus">changeFocus</a></b>(forward)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;inner&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#-focusKeydownHandler">focusKeydownHandler</a></b>(evt)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;inner&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#-focusKeyPressHandler">focusKeyPressHandler</a></b>(evt)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;inner&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#-iterContents">iterContents</a></b>(func)
								</div>
								<div class="description"></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#addPage">addPage</a></b>(contents)
								</div>
								<div class="description">Adds a tabbed page into the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#click">click</a></b>(id)
								</div>
								<div class="description">Simulates a click to a dialog button in the dialog's button row.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#disableButton">disableButton</a></b>(id)
								</div>
								<div class="description">Disables a dialog button.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#enableButton">enableButton</a></b>(id)
								</div>
								<div class="description">Enables a dialog button.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getButton">getButton</a></b>(id)
								</div>
								<div class="description">Gets the UI element of a button in the dialog's button row.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getContentElement">getContentElement</a></b>(pageId, elementId)
								</div>
								<div class="description">Gets a dialog UI element object from a dialog page.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getElement">getElement</a></b>()
								</div>
								<div class="description">Gets the root DOM element of the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getName">getName</a></b>()
								</div>
								<div class="description">Gets the name of the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getPageCount">getPageCount</a></b>()
								</div>
								<div class="description">Gets the number of pages in the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getParentApi">getParentApi</a></b>()
								</div>
								<div class="description">Gets the api instance of CKFinder which opened this dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getPosition">getPosition</a></b>()
								</div>
								<div class="description">Gets the dialog's position in the window.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getSelectedElement">getSelectedElement</a></b>()
								</div>
								<div class="description">Gets the element that was selected when opening the dialog, if any.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getSize">getSize</a></b>()
								</div>
								<div class="description">Gets the current size of the dialog in pixels.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#getValueOf">getValueOf</a></b>(pageId, elementId)
								</div>
								<div class="description">Gets the value of a dialog UI element.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#hide">hide</a></b>()
								</div>
								<div class="description">Hides the dialog box.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#hidePage">hidePage</a></b>(id)
								</div>
								<div class="description">Hides a page's tab away from the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#layout">layout</a></b>()
								</div>
								<div class="description">Rearrange the dialog to its previous position or the middle of the window.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#move">move</a></b>(x, y, save)
								</div>
								<div class="description">Moves the dialog to an (x, y) coordinate relative to the window.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#resize">resize</a></b>(width, height)
								</div>
								<div class="description">Resizes the dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#selectPage">selectPage</a></b>(id)
								</div>
								<div class="description">Activates a tab page in the dialog by its id.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#setTitle">setTitle</a></b>(newName)
								</div>
								<div class="description">Sets dialog title.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#setValueOf">setValueOf</a></b>(pageId, elementId, value)
								</div>
								<div class="description">Sets the value of a dialog UI element.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#show">show</a></b>()
								</div>
								<div class="description">Shows the dialog box.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/CKFinder.dialog.html#showPage">showPage</a></b>(id)
								</div>
								<div class="description">Unhides a page's tab.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont" style="float:left">
						<b>CKFinder.dialog</b>(app, dialogName)
				</div>

				<div style="float:right">
					<span class="heading">Since:</span>
						
							2.0
						
				</div>
				<div style="clear:both"></div>
				
				<div class="description">
					This is the base class for runtime dialog objects. An instance of thisclass represents a single named dialog for a single app instance.<div style="padding:10px;margin:10px;border:1px #000 solid;background:#E0E0E0">Note: do not create objects of this class directly. To create and open a dialog use:<br /><ul><li><a href="../symbols/CKFinder.dialog.html#.add">CKFinder.dialog.add</a></li><li><a href="../symbols/CKFinderAPI.html#openDialog">CKFinderAPI#openDialog</a></li></ul></div><style type="text/css">.details .detailList {display:none;} </style>
					
				</div>
				
				
				
					
				
				
				
				
					
						<dl class="detailList">
						<dt class="heading">Parameters:</dt>
						
							<dt>
								<span class="light fixedFont">{Object}</span> <b>app</b>
								
							</dt>
								<dd>The app which created the dialog.</dd>
						
							<dt>
								<span class="light fixedFont">{String}</span> <b>dialogName</b>
								
							</dt>
								<dd>The dialog's registered name.</dd>
						
						</dl>
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".cancelButton"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Function}</span>
					<span class="light">CKFinder.dialog.</span><b>cancelButton</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						The default cancel button for dialogs. Fires the "cancel" event and closes the dialog if no UI element value changed.
						
					</div>
					
					
					
						
					
					

						
						
						

					<hr />
				
					<a name=".okButton"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Function}</span>
					<span class="light">CKFinder.dialog.</span><b>okButton</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						The default OK button for dialogs. Fires the "ok" event and closes the dialog if the event succeeds.
						
					</div>
					
					
					
						
					
					

						
						
						

					<hr />
				
					<a name="reset"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dialog.html">CKFinder.dialog</a>}</span>
					<b>reset</b>
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Resets all input values in the dialog.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.reset();</pre>
						
					
					

						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".add"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Undefined}</span>
					<span class="light">CKFinder.dialog.</span><b>add</b>(name, dialogDefinition)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Registers a dialog.
						
					</div>
					
					
					
						
							<pre class="code">var finder = new CKFinder();finder.basePath = '/ckfinder/';finder.callback = function( api ){	<b>CKFinder.dialog.add</b>( <b>'mydialog'</b>, function( api )	{		// CKFinder.dialog.definition		var <b>dialogDefinition</b> =		{			title : 'Sample dialog',			minWidth : 390,			minHeight : 130,			onOk : function() {				// "this" is now a CKFinder.dialog object.				// Accessing dialog elements:				var textareaObj = this.<b>getContentElement</b>( 'tab1', 'textareaId' );				alert( "You have entered: " + textareaObj.getValue() );				// A shorter version:				// alert( "You have entered: " + this.getValueOf( 'tab1', 'textareaId' ) );			},			contents : [				{					id : 'tab1',					label : '',					title : '',					expand : true,					padding : 0,					elements :					[						{							type : 'html',							html : '&lt;h3>This is some sample HTML content.&lt;/h3>'						},						{							type : 'textarea',							id : 'textareaId',							rows : 4,							cols : 40						}					]				}			],			buttons : [ CKFinder.dialog.cancelButton, CKFinder.dialog.okButton ]		};		return dialogDefinition;	} );	api.addFileContextMenuOption( { label : "Open dialog", command : "test" } , function( api, file )	{		<b>api.openDialog('mydialog');</b>	});};finder.create();</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>name</b>
									
								</dt>
								<dd>The dialog's name.</dd>
							
								<dt>
									<span class="light fixedFont">{Function|String}</span> <b>dialogDefinition</b>
									
								</dt>
								<dd>A function returning the dialog's definition, or the URL to the .js file holding the function.The function should accept an argument "api" which is the current <a href="../symbols/CKFinderAPI.html">CKFinderAPI</a> instance, andreturn an object conforming to CKFinder.dialog.dialogDefinition.</dd>
							
							</dl>
						
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">See:</dt>
							
								<dd><a href="../symbols/CKFinder.dialog.definition.html">CKFinder.dialog.definition</a></dd>
							
							</dl>
						

					<hr />
				
					<a name=".addUIElement"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Undefined}</span>
					<span class="light">CKFinder.dialog.</span><b>addUIElement</b>(typeName, builder)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Registers a dialog UI element.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>typeName</b>
									
								</dt>
								<dd>The name of the UI element.</dd>
							
								<dt>
									<span class="light fixedFont">{Function}</span> <b>builder</b>
									
								</dt>
								<dd>The function to build the UI element.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name=".exists"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Undefined}</span>
					<span class="light">CKFinder.dialog.</span><b>exists</b>(name)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>name</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name=".getCurrent"> </a>
					<div class="fixedFont" style="float:left">&lt;static&gt; 
					
					<span class="light">{Undefined}</span>
					<span class="light">CKFinder.dialog.</span><b>getCurrent</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="-changeFocus"> </a>
					<div class="fixedFont" style="float:left">&lt;inner&gt; 
					
					<span class="light">{Undefined}</span>
					<b>changeFocus</b>(forward)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>forward</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="-focusKeydownHandler"> </a>
					<div class="fixedFont" style="float:left">&lt;inner&gt; 
					
					<span class="light">{Undefined}</span>
					<b>focusKeydownHandler</b>(evt)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>evt</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="-focusKeyPressHandler"> </a>
					<div class="fixedFont" style="float:left">&lt;inner&gt; 
					
					<span class="light">{Undefined}</span>
					<b>focusKeyPressHandler</b>(evt)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>evt</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="-iterContents"> </a>
					<div class="fixedFont" style="float:left">&lt;inner&gt; 
					
					<span class="light">{Undefined}</span>
					<b>iterContents</b>(func)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Undefined}</span> <b>func</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="addPage"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>addPage</b>(contents)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Adds a tabbed page into the dialog.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>contents</b>
									
								</dt>
								<dd>Content definition.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="click"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>click</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Simulates a click to a dialog button in the dialog's button row.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The id of the button.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Undefined}</span> The return value of the dialog's "click" event.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="disableButton"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>disableButton</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Disables a dialog button.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The id of the button.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="enableButton"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>enableButton</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Enables a dialog button.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The id of the button.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="getButton"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.ui.dialog.button.html">CKFinder.ui.dialog.button</a>}</span>
					<b>getButton</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the UI element of a button in the dialog's button row.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The id of the button.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.ui.dialog.button.html">CKFinder.ui.dialog.button</a>}</span> The button object.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getContentElement"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.ui.dialog.uiElement.html">CKFinder.ui.dialog.uiElement</a>}</span>
					<b>getContentElement</b>(pageId, elementId)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets a dialog UI element object from a dialog page.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.getContentElement( 'tabId', 'elementId' )</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>pageId</b>
									
								</dt>
								<dd>id of dialog page.</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>elementId</b>
									
								</dt>
								<dd>id of UI element.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.ui.dialog.uiElement.html">CKFinder.ui.dialog.uiElement</a>}</span> The dialog UI element (the class that extends the uiElement, depending on the element definition, for example: <a href="../symbols/CKFinder.ui.dialog.textInput.html">CKFinder.ui.dialog.textInput</a>, <a href="../symbols/CKFinder.ui.dialog.select.html">CKFinder.ui.dialog.select</a>, etc.)).</dd>
							
							</dl>
						
						
						
							<dl class="detailList">
							<dt class="heading">See:</dt>
							
								<dd><a href="../symbols/CKFinder.dialog.html#.add">CKFinder.dialog.add</a></dd>
							
							</dl>
						

					<hr />
				
					<a name="getElement"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span>
					<b>getElement</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the root DOM element of the dialog.
						
					</div>
					
					
					
						
							<pre class="code">var dialogElement = dialogObj.getElement().getFirst();dialogElement.setStyle( 'padding', '5px' );</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span> The &lt;span&gt; element containing this dialog.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getName"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{String}</span>
					<b>getName</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the name of the dialog.
						
					</div>
					
					
					
						
							<pre class="code">var dialogName = dialogObj.getName();</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> The name of this dialog.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getPageCount"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Number}</span>
					<b>getPageCount</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the number of pages in the dialog.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> Page count.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getParentApi"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinderAPI.html">CKFinderAPI</a>}</span>
					<b>getParentApi</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the api instance of CKFinder which opened this dialog.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinderAPI.html">CKFinderAPI</a>}</span> Parent api instance.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getPosition"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Object}</span>
					<b>getPosition</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the dialog's position in the window.
						
					</div>
					
					
					
						
							<pre class="code">var dialogX = dialogObj.getPosition().x;</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> An object with "x" and "y" properties.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSelectedElement"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span>
					<b>getSelectedElement</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the element that was selected when opening the dialog, if any.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/CKFinder.dom.element.html">CKFinder.dom.element</a>}</span> The element that was selected, or null.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSize"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Object}</span>
					<b>getSize</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the current size of the dialog in pixels.
						
					</div>
					
					
					
						
							<pre class="code">var width = dialogObj.getSize().width;</pre>
						
					
					
					
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> An object with "width" and "height" properties.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getValueOf"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Object}</span>
					<b>getValueOf</b>(pageId, elementId)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Gets the value of a dialog UI element.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>pageId</b>
									
								</dt>
								<dd>id of dialog page.</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>elementId</b>
									
								</dt>
								<dd>id of UI element.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> The value of the UI element.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="hide"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>hide</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Hides the dialog box.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.hide();</pre>
						
					
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="hidePage"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>hidePage</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Hides a page's tab away from the dialog.
						
					</div>
					
					
					
						
							<pre class="code">dialog.hidePage( 'tab_3' );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The page's Id.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="layout"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>layout</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								3.5
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Rearrange the dialog to its previous position or the middle of the window.
						
					</div>
					
					
						<pre class="code"><span style="color:red">NO EXAMPLE AVAILABLE</span></pre>
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="move"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>move</b>(x, y, save)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Moves the dialog to an (x, y) coordinate relative to the window.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.move( 10, 40 );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>x</b>
									
								</dt>
								<dd>The target x-coordinate.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>y</b>
									
								</dt>
								<dd>The target y-coordinate.</dd>
							
								<dt>
									<span class="light fixedFont">{Boolean}</span> <b>save</b>
									
								</dt>
								<dd>Flag indicate whether the dialog position should be remembered on next open up.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="resize"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>resize</b>(width, height)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Resizes the dialog.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.resize( 800, 640 );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>width</b>
									
								</dt>
								<dd>The width of the dialog in pixels.</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>height</b>
									
								</dt>
								<dd>The height of the dialog in pixels.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="selectPage"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>selectPage</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Activates a tab page in the dialog by its id.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.selectPage( 'tab_1' );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The id of the dialog tab to be activated.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="setTitle"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>setTitle</b>(newName)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Sets dialog title.
						
					</div>
					
					
					
						
							<pre class="code">// this = dialogthis.setTitle( file.name );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>newName</b>
									
								</dt>
								<dd>New title.</dd>
							
							</dl>
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Undefined}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="setValueOf"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>setValueOf</b>(pageId, elementId, value)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Sets the value of a dialog UI element.
						
					</div>
					
					
					
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>pageId</b>
									
								</dt>
								<dd>id of the dialog page.</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>elementId</b>
									
								</dt>
								<dd>id of the UI element.</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>value</b>
									
								</dt>
								<dd>The new value of the UI element.</dd>
							
							</dl>
						
						
						
						
						
						

					<hr />
				
					<a name="show"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>show</b>()
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Shows the dialog box.
						
					</div>
					
					
					
						
							<pre class="code">dialogObj.show();</pre>
						
					
					
					
						
						
						
						
						
						

					<hr />
				
					<a name="showPage"> </a>
					<div class="fixedFont" style="float:left">
					
					<span class="light">{Undefined}</span>
					<b>showPage</b>(id)
					
					</div>
					<div style="float:right">
						<span class="heading">Since:</span>
							
								2.0
							
					</div>
					<div style="clear:both"></div>
					<div class="description">
						Unhides a page's tab.
						
					</div>
					
					
					
						
							<pre class="code">dialog.showPage( 'tab_2' );</pre>
						
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>id</b>
									
								</dt>
								<dd>The page's Id.</dd>
							
							</dl>
						
						
						
						
						
						

					
				
			

			<!-- ============================== event details ========================= -->		
			

			<hr />
		</div>
		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
	Copyright &copy; 2007-2015, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
</div>

	</body>
</html>
